package ca.concordia.soen6461.wichf.navigation.view;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

public class HomeViewBean {
	
	public static class Day {

		private String name;
		private List<TimeSlot> timeSlots = new LinkedList<TimeSlot>();

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public List<TimeSlot> getTimeSlots() {
			return timeSlots;
		}

	}

	public static class TimeSlot {

		private boolean appointment;
		private Map<String, String> actions = new TreeMap<String, String>();

		public boolean isAppointment() {
			return appointment;
		}

		public void setAppointment(boolean appointment) {
			this.appointment = appointment;
		}

		public Map<String, String> getActions() {
			return actions;
		}

	}

	private List<Day> days = new LinkedList<Day>();
	private List<String> times = new LinkedList<String>();
	private boolean viewCartLink = true;

	public List<Day> getDays() {
		return days;
	}

	public List<String> getTimes() {
		return times;
	}

	public boolean isViewCartLink() {
		return viewCartLink;
	}

	public void setViewCartLink(boolean viewCartLink) {
		this.viewCartLink = viewCartLink;
	}
	
}